home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus Special 16 / AMIGAplus Sonderheft 16 (1998)(ICP)(DE)[!].iso / pd / anwendungen / xpk_source / libraries / none / xpklibnone.i < prev    next >
Text File  |  1998-02-08  |  2KB  |  58 lines

  1.     INCLUDE    xpk/xpkLibHeader.i
  2.  
  3. ******************** $VER: xpkLib.i 1.3 (11.01.1997) *********************
  4.  
  5. ; Here the needed variables and strings are initialized. Do not change the
  6. ; format of the IDString. Only add some additional information after the
  7. ; second brake. An additional $VER: string is not needed!
  8.  
  9. VERSION        EQU    1        ; version of your library
  10. REVISION    EQU    2        ; revision of your library
  11.  
  12. LibName        DC.B    'xpkNONE.library',0
  13. IDString    DC.B    'xpkNONE 1.2 (01.04.1997)',13,10,0
  14.         CNOP    0,2
  15.  
  16. **************************************************************************
  17.  
  18. ; Functions _InitCode and _ExitCode give you the ability to do things on
  19. ; opening and closing of library. These functions are called by init
  20. ; routine or by Expunge. Init is the only funtion, that is allowed to set a
  21. ; value for an global variable. The library pointer is in A5, registers
  22. ; have to be saved!!! If _InitCode returns not zero, the init function fails and
  23. ; thus the library cannot be opened!
  24.  
  25. ; Sometimes you do not need functions _XpksPackReset, _XpksPackFree or
  26. ; _XpksUnpackFree. In this case you can set these dummies here:
  27. ;
  28. _XpksPackFree
  29. _XpksPackReset
  30. _XpksUnpackFree
  31.  
  32. ; Dummy functions, mark out them if you want to use your own ones
  33. _InitCode
  34. _ExitCode    MOVEQ    #0,D0
  35.         RTS
  36. ; or set these two if the functions are extern
  37. ;    XREF    _InitCode
  38. ;    XREF    _ExitCode
  39.  
  40. **************************************************************************
  41.  
  42. ; ASM: in assembler language use this file as an include with directive
  43. ;    INCLUDE    xpkLib____.i
  44.  
  45. ; OTHER: In any other language compile this file with an assembler and get
  46. ; an object file (called like xpkLib____.o). Link this object file together
  47. ; with your other code. This file MUST be the first one (e.g. it is the
  48. ; startup code). Set the following external references.
  49. ;
  50. ;    XREF    _XpksPackerInfo
  51. ;    XREF    _XpksPackChunk
  52. ;    XREF    _XpksPackFree
  53. ;    XREF    _XpksPackReset
  54. ;    XREF    _XpksUnpackChunk
  55. ;    XREF    _XpksUnpackFree
  56.  
  57. **************************************************************************
  58.